//package com.sanoryza.solutions.manufacturing.isi.wms.system.server;
//
//import com.sanoryza.solutions.manufacturing.isi.wms.system.tcp.protocol.BaseInstructionDecoder;
//import com.sanoryza.solutions.manufacturing.isi.wms.system.tcp.protocol.BaseInstructionEncoder;
//import io.netty.channel.Channel;
//import io.netty.channel.ChannelHandler;
//import io.netty.channel.ChannelInitializer;
//import io.netty.channel.ChannelPipeline;
//import io.netty.handler.timeout.IdleStateHandler;
//import java.util.concurrent.TimeUnit;
//
//public class NettyServerChannelInitializer extends ChannelInitializer {
//    protected void initChannel(Channel socketChannel) throws Exception {
//        ChannelPipeline pipeline = socketChannel.pipeline();
//        pipeline.addLast(new ChannelHandler[] { (ChannelHandler)new IdleStateHandler(60L, 15L, 0L, TimeUnit.SECONDS), (ChannelHandler)new BaseInstructionDecoder(), (ChannelHandler)new BaseInstructionEncoder(), (ChannelHandler)new NettyServerHandler() });
//    }
//}
